package com.jiankangjin.appspos.vo;

public class GetNoticeInfoVo {
	/** 响应状态  */
	private String resp_status;
	/** 响应中最早记录时间  */
	private String earliest_timestamp;	
	/** Notice[] 通告内容 */
	private Notice[] notice;
	/** 签名 */
	private String sign;
	
	private String msg;
	
	public class Notice {
		/** Notice 通告编号 */
		private int id;
		/** Notice 通告类型 */
		private int type;
		/** Notice 通告记录数 */
		private String timestamp;
		/** Notice 通告标题  */
		private String title;
		/** Notice 通告内容 */
		private String content;
		/** Notice 通告展示地址  */
		private String url;
		/** Notice 通告发布人  */
		private String author;
		/** Notice 通告发布商户名 */
		private String merchant;
		
		public Notice() {			
		}

		public Notice(int id, int type, String timestamp, String title,
				String content, String url, String author, String merchant) {
			super();
			this.id = id;
			this.type = type;
			this.timestamp = timestamp;
			this.title = title;
			this.content = content;
			this.url = url;
			this.author = author;
			this.merchant = merchant;
		}

		/** get  */
		public int getId() {
			return id;
		}

		/** set  */
		public void setId(int id) {
			this.id = id;
		}

		/** get  */
		public int getType() {
			return type;
		}

		/** set  */
		public void setType(int type) {
			this.type = type;
		}

		/** get  */
		public String getTimestamp() {
			return timestamp;
		}

		/** set  */
		public void setTimestamp(String timestamp) {
			this.timestamp = timestamp;
		}

		/** get  */
		public String getTitle() {
			return title;
		}

		/** set  */
		public void setTitle(String title) {
			this.title = title;
		}

		/** get  */
		public String getContent() {
			return content;
		}

		/** set  */
		public void setContent(String content) {
			this.content = content;
		}

		/** get  */
		public String getUrl() {
			return url;
		}

		/** set  */
		public void setUrl(String url) {
			this.url = url;
		}

		/** get  */
		public String getAuthor() {
			return author;
		}

		/** set  */
		public void setAuthor(String author) {
			this.author = author;
		}

		/** get  */
		public String getMerchant() {
			return merchant;
		}

		/** set  */
		public void setMerchant(String merchant) {
			this.merchant = merchant;
		}

	}//end class Notice

	public GetNoticeInfoVo() {
		
	}
	



	/**
	 * @param resp_status
	 * @param earliest_timestamp
	 * @param notice
	 * @param sign
	 * @param msg
	 */
	public GetNoticeInfoVo(String resp_status, String earliest_timestamp,
			Notice[] notice, String sign, String msg) {
		super();
		this.resp_status = resp_status;
		this.earliest_timestamp = earliest_timestamp;
		this.notice = notice;
		this.sign = sign;
		this.msg = msg;
	}




	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	/** get 响应状态 */
	public String getResp_status() {
		return resp_status;
	}

	/** set 响应状态 */
	public void setResp_status(String resp_status) {
		this.resp_status = resp_status;
	}

	/** get 响应中最早记录时间 */
	public String getEarliest_timestamp() {
		return earliest_timestamp;
	}

	/** set 响应中最早记录时间 */
	public void setEarliest_timestamp(String earliest_timestamp) {
		this.earliest_timestamp = earliest_timestamp;
	}

	/** get Notice[] 通告内容 */
	public Notice[] getNotice() {
		return notice;
	}

	/** set Notice[] 通告内容 */
	public void setNotice(Notice[] notice) {
		this.notice = notice;
	}

	/** get 签名 */
	public String getSign() {
		return sign;
	}

	/** set 签名 */
	public void setSign(String sign) {
		this.sign = sign;
	}
	
}
